package com.collabscm.pf.exception;

/**
 * 依赖的库异常
 * @author Zeng Raoxing
 */
public class DependenceLibException extends BaseRuntimeException {
	private static final long serialVersionUID = 1L;
	
	/**
	 * @param libName    库的名称
	 * @param logMessage 日志信息
	 * @param cause      源错误信息
	 */
	public DependenceLibException(String libName, String logMessage, Throwable cause) {
		super(cause, libName + ":" + logMessage);
	}
	
	/**
	 * @param libName    库的名称
	 * @param logMessage 日志信息
	 * @param cause      源错误信息
	 */
	public DependenceLibException(String libName, String logMessage, String errorCode, Throwable cause) {
		super(cause, libName + ":" + logMessage, errorCode, libName);
	}

}
